package org.news.web.domain.vo;

import java.util.Date;

import org.news.web.domain.Notifications;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;


/**
 * 通知功能视图对象 notifications
 *
 * @author Gu Ci
 * @date 2024-04-03
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = Notifications.class)
public class NotificationsVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 通知ID
     */
    @ExcelProperty(value = "通知ID")
    private Long notificationId;

    /**
     * 用户ID
     */
    @ExcelProperty(value = "用户ID")
    private Long userId;


    @ExcelProperty(value = "用户名")
    private String username;

    /**
     * 通知类型，系统通知或消息通知

     */
    @ExcelProperty(value = "通知类型，系统通知或消息通知 ")
    private Long notificationType;

    /**
     * 通知内容
     */
    @ExcelProperty(value = "通知内容")
    private String content;

    /**
     * 是否已读
     */
    @ExcelProperty(value = "是否已读")
    private Integer isRead;

    /**
     * 记录通知时间
     */
    @ExcelProperty(value = "记录通知时间")
    private Date creationTime;

    /**
     * 记录更新时间
     */
    @ExcelProperty(value = "记录更新时间")
    private Date updateTime;


}
